package com.tjoris.midigateway.ui;

import java.awt.Component;

import javax.swing.JTable;
import javax.swing.table.TableCellRenderer;

public class TestRenderer implements TableCellRenderer
{
	private final TestCell fCell;
	
	public TestRenderer()
	{
		fCell = new TestCell();
	}

	public Component getTableCellRendererComponent(final JTable table, final Object value, final boolean isSelected, final boolean hasFocus, final int row, final int column)
	{
		return fCell.getComponent((MidiEntry)value, table, isSelected);
	}
}